package com.appkubes.mall.restful.application.goods.taobao.dtkUtil.entity;

import java.util.List;

public class CatalogueRespond<T> {

    /**
     * time : 1578906823711
     * code : 0
     * msg : 成功
     * data : [{"topicId":1275,"topicName":"春节出行指南","startTime":"2020-01-10T08:16:00.000+0000","endTime":"2020-01-23T08:16:00.000+0000","banner":[]},{"topicId":1274,"topicName":"年度爆品红榜","startTime":"2020-01-10T06:15:00.000+0000","endTime":"2020-01-21T06:15:00.000+0000","banner":[]},{"topicId":1258,"topicName":"年末大盘点","startTime":"2019-12-30T09:21:00.000+0000","endTime":"2020-01-25T09:21:00.000+0000","banner":[]},{"topicId":1242,"topicName":"冰点福利","startTime":"2019-12-16T11:44:57.000+0000","endTime":"2020-02-04T15:59:59.000+0000","banner":[]},{"topicId":1105,"topicName":"第2件半价","startTime":"2019-11-13T09:37:54.000+0000","endTime":"2020-12-31T05:52:00.000+0000","banner":[]},{"topicId":1103,"topicName":"9.9元精选","startTime":"2019-10-11T02:19:44.000+0000","endTime":"2021-03-31T02:19:00.000+0000","banner":[]}]
     */

    private long time;
    private int code;
    private String msg;
    private List<DataBean> data;

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * topicId : 1275
         * topicName : 春节出行指南
         * startTime : 2020-01-10T08:16:00.000+0000
         * endTime : 2020-01-23T08:16:00.000+0000
         * banner : []
         */

        private int topicId;
        private String topicName;
        private String startTime;
        private String endTime;
        private List<?> banner;

        public int getTopicId() {
            return topicId;
        }

        public void setTopicId(int topicId) {
            this.topicId = topicId;
        }

        public String getTopicName() {
            return topicName;
        }

        public void setTopicName(String topicName) {
            this.topicName = topicName;
        }

        public String getStartTime() {
            return startTime;
        }

        public void setStartTime(String startTime) {
            this.startTime = startTime;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }

        public List<?> getBanner() {
            return banner;
        }

        public void setBanner(List<?> banner) {
            this.banner = banner;
        }
    }
}
